package org.blogwu.learn.jvmlearn.class1.Class21;

import org.blogwu.learn.jvmlearn.class1.MyTest16;

public class MyTest18_1 {

    public static void main(String[] args) throws ClassNotFoundException {
        MyTest16 loader1 = new MyTest16("loader1");
        loader1.setPath("D:\\temp\\");
        Class<?> cls1 = loader1.loadClass("org.blogwu.learn.jvmlearn.class1.class19.MySample");
        System.out.println("class hashcode:" + cls1.hashCode());
        System.out.println("class classloader:" + cls1.getClassLoader());

        System.out.println(System.getProperty("java.class.path"));
    }
}
